﻿using System;
using System.Data.Entity;

namespace Teamwish.Domain.Models
{
    public class BookContext : DbContext
    {
       
        public BookContext() : base("name=BookContext")
        {
            this.Database.Log = Console.Write;
        }

        public DbSet<Teamwish.Domain.Models.Book> Books { get; set; }

        public DbSet<Teamwish.Domain.Models.Author> Authors { get; set; }
    }
}
